const App = getApp();
Component({
  properties: {
      productImglist: {
          type: Array,
          value: []
      }
  },
  data: {
    indicatorDots: false,
    autoplay: false,
    interval: 3000,
    duration: 800,
    current: 0
  },
  lifetimes: {
    attached: function () {
      this.setData({
        statusBarHeight: App.globalData.navHeight,
      })
      this.setData({
        statusBarPadding: App.globalData.navTop,
      })
    }
  },
  methods: {
    swiperChange: function (t) {
      this.setData({
        current: t.detail.current
      });
    },
    clickBanner: function (t) {
      console.log(t)
    }
  }
});